﻿@using System.Web.Mvc;

@helper Script(string ScriptName, UrlHelper Url){
    <script src="@Url.Content("~/Scripts/" + ScriptName)" type="text/javascript"></script> 
}

@helper Button(string actionURL, string buttonType, string buttonText, string ButtonClass ,UrlHelper Url){
    <a href="@Url.Content(actionURL)" data-icon="@Url.Content(buttonType)" class="@Url.Content(ButtonClass)">@Url.Content(buttonText)</a>
}

@helper ButtonUpvote(string actionURL, string buttonType, string buttonText, string ButtonClass ,UrlHelper Url){
    <a href="@Url.Content(actionURL)" data-icon="@Url.Content(buttonType)" class="@Url.Content(ButtonClass)">@Url.Content(buttonText)</a>
}


@helper Song(string actionURL, string songName, string artist, string buttonType, UrlHelper Url)
    {
    <li><a href="@Url.Content(actionURL)" data-icon="@Url.Content(buttonType)">@Url.Content(songName) - @Url.Content(artist)</a></li>
}